package com.zero.manage.web.config;

import com.baomidou.dynamic.datasource.processor.DsProcessor;
import com.zero.manage.web.utils.dynamicsource.processor.ZeroExpressionProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DynamicSourceConfig {
    @Bean
    public DsProcessor dsProcessor() {
        return new ZeroExpressionProcessor();
    }
}
